#include <iostream>

#include "spaceship.h"
#include "spaceshipinfo.h"

using namespace spacedefender;

Spaceship::Spaceship(const SpaceshipInfo* info,const std::string& type) : MovableObject(type)
{
	const MovableObject* mo = info->GetMovableObjectConst();
	this->SetPosition(mo->GetPosition());
	this->SetSpeed(mo->GetSpeed());
	this->SetRotateSpeed(mo->GetRotateSpeed());

}

Spaceship::~Spaceship()
{
}
